package com.bw.biz.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bw.biz.pojo.TbOrder;
import com.bw.biz.pojo.TbProduct;
import com.bw.biz.vo.ProductVo;
import com.bw.core.result.ResponseResult;
import com.bw.core.vo.FindOneOrderResVo;
import com.bw.core.vo.TbOrderVo;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * <p>
 * 申请订单表 服务类
 * </p>
 *
 * @author lv
 * @since 2021-03-23
 */
public interface TbOrderService extends IService<TbOrder> {

    ResponseResult addOrder(ProductVo product);

    void dispose(String msg);

//    void repayment(String msg);

    void generateBill(String msg);

    @GetMapping("/findMyOrder")
    FindOneOrderResVo findOneOrder(@RequestParam("orderNo") String orderNo);
}
